package com.sayimo.maker.base.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sayimo.framework.database.mybatis.AbstractMybatisBaseDao;
import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.base.dao.AdpositionInterfaceDao;
import com.sayimo.maker.base.vo.Adposition;

/**
 * @Copyright (c) 2015 广东省尚一互联网有限公司
 * @Project: schoolmallapi
 * @ClassName: AdpositionInterfaceDaoImpl
 * @Description: 广告
 * @author:	chenjia
 * @date:	日期：2016年2月27日  时间：上午10:48:50
 * @version 1.0.0
 */
@Repository(value="adpositionInterfaceDaoImpl")
public class AdpositionInterfaceDaoImpl extends AbstractMybatisBaseDao<Adposition> implements AdpositionInterfaceDao{
	
	@Override
	public List<Adposition> getAdpositionListByTag(String tag)throws DaoException {
		return this.mybatisInterfaceBaseDao.query("com.sayimo.maker.base.dao.AdpositionInterfaceDao.getAdpositionListByTag", tag);
	}
	
}
